#ifndef SETTINGSDIALOG_H
#define SETTINGSDIALOG_H

#include <QDialog>
#include <QCloseEvent>
#include "settings.h"


namespace Ui {
class SettingsDialog;
}

class SettingsDialog : public QDialog
{
    Q_OBJECT
    
public:
    SettingsDialog(Settings *settings, QWidget *parent = 0);
    ~SettingsDialog();

    void closeEvent(QCloseEvent *);
    
private slots:
    void on_buttonBox_accepted();
    void on_buttonBox_rejected();

private:
    Ui::SettingsDialog *ui;
    Settings *settings;
};

#endif // SETTINGSDIALOG_H
